toolbox/documents/X/XdocsSrc README README for Silicon Graphics X server paper's accompanying sample src code This directory contains the following: Makefile A Makefile to compile the "crosshair", "layerdemo", "xlayerinfo", and "tulip" binaries from the supplied demonstation source code examples accompanying the SGI X server papers in toolbox/documents/X. 3color.ps: ---------- tulip.c 3color.ps accompanying sample source code for using a three-color cursor program which turns the root window cursor into a tulip. prog_layers.ps: --------------- XLayerUtil.h/.c Sample code for routines to portably query overlay visuals described in the prog_layers.ps article. layerdemo.c Sample code demonstrating how to use pure-X overlay windows to achieve transparency effects. xlayerinfo.c Sample code for a program to list a server's visuals including visual layering information. XperfNyou.sc -------- pidinfo.c process User+Sys Measurer program example. xsgi.ps: -------- crosshair.c xsgi.ps accompanying sample source code for turning the root window's cursor into a crosshair cursor. To return to default root cursor, run /usr/bin/X11/xsetroot -cursor_name X_cursor -fg red -bg white Also, if you run a program like twilight, bgpaste or that fish background program that tries to totally cover up the root window, you won't see the crosshair.
Source
Documentation
Reference